# -*- codeing = utf-8 -*-
# @Time : 2021/2/27 22:35
# @Atuthor: 朱朱
# @File: 144 except语句.py
# @Software: PyCharm

# try...except 语句用来处理程序运行过程中的异常
try:
    person = {'name':'jack'}
    print(person['age'])
    print( 1/ 2)
    f = open('ddd.txt')
    print(f.read())
    f.close()

except Exception as e:
    print('出错了',e)
